/**
 * 
 */
package cn.gov.msa.service.impl;

import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.UUID;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;

import org.apache.commons.lang3.StringUtils;
import org.dom4j.DocumentException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.FileCopyUtils;
import org.springframework.web.context.ContextLoader;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
import org.xmlpull.v1.XmlPullParserException;

import cn.gov.msa.dao.AmanuensisMapper;
import cn.gov.msa.dao.AnchoragDefineMapper;
import cn.gov.msa.dao.ApplyMapper;
import cn.gov.msa.dao.ApplyMaterialAnnexMapper;
import cn.gov.msa.dao.ApplyMaterialMapper;
import cn.gov.msa.dao.AuditOpinionMapper;
import cn.gov.msa.dao.ControlDefineMapper;
import cn.gov.msa.dao.DeclareItemMaterialMapper;
import cn.gov.msa.dao.FlowBusinessMapper;
import cn.gov.msa.dao.FlowInstanceMapper;
import cn.gov.msa.dao.FlowNodeParamMapper;
import cn.gov.msa.dao.OrgMapper;
import cn.gov.msa.dao.ProhibitedAreaDefineMapper;
import cn.gov.msa.dao.ProhibitedAreaPermitMapper;
import cn.gov.msa.dao.RecordSafetyWorkInlandMapper;
import cn.gov.msa.dao.RecordSafetyWorkPortMapper;
import cn.gov.msa.dao.RouteDefineMapper;
import cn.gov.msa.dao.ScavengLiabiInsCerMapper;
import cn.gov.msa.dao.ShipMapper;
import cn.gov.msa.dao.ShipwrecksWorkMapper;
import cn.gov.msa.dao.SmsLogMapper;
import cn.gov.msa.dao.TowingWorkMapper;
import cn.gov.msa.dao.WatersSafetyMapper;
import cn.gov.msa.dao.WatersWorkMapper;
import cn.gov.msa.dao.WatersWorkXYMapper;
import cn.gov.msa.dao.WorkspaceDefineMapper;
import cn.gov.msa.model.Amanuensis;
import cn.gov.msa.model.AnchoragDefine;
import cn.gov.msa.model.Apply;
import cn.gov.msa.model.ApplyMaterial;
import cn.gov.msa.model.ApplyMaterialAnnex;
import cn.gov.msa.model.AuditOpinion;
import cn.gov.msa.model.ControlDefine;
import cn.gov.msa.model.DeclareItem;
import cn.gov.msa.model.DeclareItemMaterial;
import cn.gov.msa.model.FlowBusiness;
import cn.gov.msa.model.FlowInstance;
import cn.gov.msa.model.FlowNode;
import cn.gov.msa.model.FlowNodeParam;
import cn.gov.msa.model.Org;
import cn.gov.msa.model.ProhibitedAreaDefine;
import cn.gov.msa.model.ProhibitedAreaPermit;
import cn.gov.msa.model.RecordSafetyWorkInland;
import cn.gov.msa.model.RecordSafetyWorkPort;
import cn.gov.msa.model.RouteDefine;
import cn.gov.msa.model.ScavengLiabiInsCer;
import cn.gov.msa.model.Ship;
import cn.gov.msa.model.ShipwrecksWork;
import cn.gov.msa.model.SmsLog;
import cn.gov.msa.model.TowingWork;
import cn.gov.msa.model.VSelectMaterial;
import cn.gov.msa.model.WatersSafety;
import cn.gov.msa.model.WatersWork;
import cn.gov.msa.model.WatersWorkXY;
import cn.gov.msa.model.Waterway;
import cn.gov.msa.model.WorkspaceDefine;
import cn.gov.msa.service.ApplyService;
import cn.gov.msa.service.DeclareItemService;
import cn.gov.msa.service.FlowService;
import cn.gov.msa.service.SmsLogService;
import cn.gov.msa.util.HtmlToPdf;
import cn.gov.msa.util.PropertiesTools;
import cn.gov.msa.util.SmsTools;
import cn.gov.msa.util.WebServiceTools;
import net.sf.ezmorph.object.DateMorpher;
import net.sf.json.JSON;
import net.sf.json.JSONArray;
import net.sf.json.JSONNull;
import net.sf.json.JSONObject;
import net.sf.json.util.JSONUtils;


public class SmsLogServiceImpl implements SmsLogService {
	
	@Autowired
	SmsLogMapper smsLogMapper;

	@Override
	public void insertSelective(SmsLog record) throws Exception {
		smsLogMapper.insertSelective(record);
	}

	@Override
	public SmsLog selectByPrimaryKey(String logid) {
		return smsLogMapper.selectByPrimaryKey(logid);
	}
	

	
}
